package com.knife.hospital.constant;

/**
 * 预约时间段
 *
 * @author Jihuai
 */
public enum TimeQuantumEnum {
    /**
     * 上午
     */
    MORNING(0, "morning"),
    /**
     * 下午
     */
    AFTERNOON(1, "afternoon");
    /**
     * 预约时间段code
     */
    private int code;
    /**
     * 预约时间段
     */
    private String msg;

    TimeQuantumEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
